package com.example;

import com.example.entity.User;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Application_08 {
    public static void main(String[] args) throws InterruptedException {
        ClassPathXmlApplicationContext context=new ClassPathXmlApplicationContext("applicationContext.xml");
        User user= (User) context.getBean("userEntity");
        System.out.println(user);
        context.close();
    }
}
